import random

class CreatCaptcha(object):

    def captcha(self,number):
        str = ""
        for i in range(number):
            ch = chr(random.randrange(ord('0'), ord('9') + 1))
            str += ch
        return str
